.home {
  width: 100%;
  min-height: 100vh;
  padding: 0 5% 64px;
  box-sizing: border-box;
  overflow: scroll;
}

/* 搜索框 */
.home .search-box {
  position: relative;
  width: 100%;
  font-size: 12px;
  padding: 8px 0;
  margin: 12px 0 10px;
  background-color: #f1f1f1;
  border-radius: 16px;
}

.home .search-box .input {
  outline: none;
  border: none;
  width: 100%;
  padding: 0 2em;
  box-sizing: border-box;
  text-align: center;
  background: none;
}

.home .search-box .input::-webkit-input-placeholder {
  color: #a9a9a9;
}

.home .search-box .icon {
  position: absolute;
  content: '';
  width: 12px;
  height: 12px;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: url(../images/home/search.png) no-repeat center;
  background-size: 100% 100%;
}

/* end */

/* 轮播图 */
.home .swiper-container {
  width: 100%;
  height: 170px;
  padding-bottom: 20px;
}

.home .swiper-container .swiper-pagination {
  bottom: 0;
}

.home .swiper-container .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
}

.home .swiper-container .swiper-pagination-bullet-active {
  border-radius: 6px;
  width: 12px;
}

/* end */

/* 导航部分 */
.home .nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 34px 0 40px;
  color: #848b96;
  font-size: 13px;
}

.home .nav .li {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}

.home .nav .br {
  width: 100%;
  height: 1px;
}

.home .nav .img-box {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

/* end */

/* 校园日志部分 */
.home .log .ul-box,
.home .comment .ul-box {
  box-sizing: border-box;
  background-color: #ffffff;
  box-shadow: 4px 6px 24px 0px rgba(242, 236, 229, 0.76);
  border-radius: 4px;
}

.home .log .ul {
  width: 100%;
  padding: 0 4%;
  box-sizing: border-box;
  line-height: 1.5;
  font-size: 13px;
  border-bottom: solid 1px #dcdcdc;
  color: #848b96;
}

.home .log .li {
  display: flex;
  padding: 10px 0;
}

.home .log .name {
  color: #4484c5;
}

/* end */

/* 值日讲评 */
.home .comment {
  padding: 36px 0;
}

.home .comment .ul {
  line-height: 2;
  padding: 10px 4%;
  box-sizing: border-box;
  border-bottom: solid 1px #dcdcdc;
  font-size: 13px;
  color: #848b96;
}

/* end */

/* 底部tabbar */
.tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 64px;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 13px;
  color: #757d89;
  border-top: 1px solid #ececec;
  background-color: #fff;
}

.tabbar .icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tabbar .icon {
  width: 20px;
  height: 20px;
  background: url(../images/home/tabbar.png) no-repeat center;
  background-size: 80px 40px;
  margin-bottom: 6px;
}

.tabbar .icon-home {
  background-position: 0 0;
}
.tabbar .icon-msg {
  background-position: -20px 0;
}
.tabbar .icon-mail {
  background-position: -40px 0;
}
.tabbar .icon-me {
  background-position: -60px 0;
}
.tabbar .icon-select {
  background-position-y: -20px;
}

/* end */

/* 公共样式 */
.pub-title-box {
  padding: 10px 0;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pub-title-box .title {
  position: relative;
  font-size: 19px;
  padding-left: 32px;
}

.pub-title-box .more {
  position: relative;
  color: #989898;
  padding-right: 12px;
}

.pub-title-box .more::before {
  position: absolute;
  content: '';
  width: 6px;
  height: 11px;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: url(../images/home/arrow.png) no-repeat center;
  background-size: 100% 100%;
}

.pub-title-box .title-log::before {
  position: absolute;
  content: '';
  width: 20px;
  height: 25px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: url(../images/home/log.png) no-repeat center;
  background-size: 100% 100%;
}

.pub-title-box .title-comment::before {
  position: absolute;
  content: '';
  width: 20px;
  height: 20px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: url(../images/home/msg.png) no-repeat center;
  background-size: 100% 100%;
}

.pub-text-header {
  width: 100%;
  height: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4%;
  margin: 10px 0;
  box-sizing: border-box;
  font-size: 14px;
  color: #fff;
}

.pub-text-header-bg1 {
  background: url(../images/home/bg1.png) no-repeat center;
  background-size: 100% 100%;
}

.pub-text-header-bg2 {
  background: url(../images/home/bg2.png) no-repeat center;
  background-size: 100% 100%;
}

.pub-bottom-time {
  padding: 12px 4%;
  text-align: right;
  box-sizing: border-box;
}

.pub-bottom-time .text {
  position: relative;
  display: inline-block;
  padding-left: 22px;
}

.pub-bottom-time .text::before {
  position: absolute;
  content: '';
  width: 16px;
  height: 16px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: url(../images/home/time.png) no-repeat center;
  background-size: 100% 100%;
}

.fx-1 {
  flex: 1;
}

.fx-shrink0 {
  flex-shrink: 0;
}
